class C{
    int age ;
    String name;

    public C() {
        System.out.println("这是c的构造方法！");
    }
}

class D extends C{

}

public interface text {
    public static void main(String[] args) {
        D d=new D();
    }
}
